package com.dandandog.framework.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author JohnnyLiu
 */
@Getter
@Setter
public abstract class AbstractEntity extends BaseEntity {

    @TableLogic(value = "null", delval = "now()")
    protected LocalDateTime del;
}
